package com.by.zhdoctor.repository;

import com.by.zhdoctor.domain.Doctor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Spring Data JPA repository for the Doctor entity.
 */
@SuppressWarnings("unused")
public interface DoctorRepository extends JpaRepository<Doctor,Long> {
    Page<Doctor> findByFlagIsFalse(Pageable pageable);
    Page<Doctor> findByFlagIsTrue(Pageable pageable);
}
